from No4.pcUtils import *
import time

url = "https://www.thepaper.cn/newsDetail_forward_22776243"
s = Scrawler()
# div > div.index_cententWrap__Jv8jK > img:nth-child(4)
pictureurl = s.getImgUrl(url,selector="div.index_cententWrap__Jv8jK img ")
for index,url in enumerate(pictureurls):
    s.getImags(url,imgName="img-"+str(index)+".jpg")
    print("拿下")
    time.sleep(1)